#pragma once


// CMainFrm frame

class CMainFrm : public CFrameWnd
{
	DECLARE_DYNCREATE(CMainFrm)
public:
	CMainFrm();           // protected constructor used by dynamic creation
	virtual ~CMainFrm();

public:
	void Init(Tasks* pts);

protected:
	DECLARE_MESSAGE_MAP()
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);

protected:
	CSplitterWnd	m_wndSplitter;
	CSplitterWnd	m_wndSplitter2;
	bool			m_bCreated;
	CToolBar		m_wndToolBar;
	CStatusBar		m_wndStatusBar;

public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnUpdateFileOpen(CCmdUI *pCmdUI);
	afx_msg void OnFileOpen();
	afx_msg void OnFileFont();
	afx_msg void OnClose();
};


